meson.build: Fix Vulkan library detection on Visual Studio
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 11 Aug 2017 09:05:55 +0000 (17:05 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 15 Sep 2017 13:41:15 +0000 (21:41 +0800)
commit0b783f67500f4ebcf77524b6fade868910f53eec
tree9f610d1ae5b34a3ff6a217c5060b34cbfaa5ff38
parent60297b9fc7d783f13e46bc8dfa6605a9be619f54
meson.build: Fix Vulkan library detection on Visual Studio

The Vulkan .lib file that is supplied by the LunarG Vulkan SDK is
vulkan-1.lib, not vulkan.lib, so make sure we look for the right
libraries when building on Visual Studio (I am not sure whether the
LunarG SDK will work for MinGW/mingw-w64 builds, as only Visual Studio
.lib files are provided).

Note that this will require one to set LIB and INCLUDE appropriately to
find the Vulkan .lib and header files, and possibly PATH if one's video
drivers do not contain the Vulkan runtime DLL.

https://bugzilla.gnome.org/show_bug.cgi?id=785210
meson.build